package com.example.safehome;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

public class Login extends LitePalSupport {

    @Column(unique = true, defaultValue = "unknown")
    private int id;

    @Column(index = true)
    private String username;

    @Column(index = true)
    private String password;

    public int getId() {
        return this.id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return this.username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
